﻿using Mohe.Scada.Util.Models;
using ProtoBuf;

namespace Mohe.Scada.Util.Proto
{
    [ProtoContract]
    public class VarItem
    {
        [ProtoMember(1)]
        public string VarName { get; set; } = string.Empty;
        [ProtoMember(2)]
        public EnumDataType DataType { get; set; }
        /// <summary>
        /// 保护级别
        /// </summary>
        [ProtoMember(3)]
        public EnumProtectType ProtectType { get; set; }
    }
}
